﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BonsaiScrum.Bus;
using BonsaiScrum.Core.Domain.Shared;

namespace BonsaiScrum.Core.Persistance
{
    public interface IDomainRepository : ITransactional
    {
        TEntity GetById<TEntity>(int id) where TEntity : BaseEntity<TEntity>;
        void Add<TEntity>(TEntity entity) where TEntity : BaseEntity<TEntity>;
    }
}
